package com.rocker.graduation.service;

import java.util.List;

import com.rocker.graduation.entity.ConsigneeBean;
import com.rocker.graduation.entity.OrderBean;

public interface IOrderService {

	public String saveOrder(Integer userId, String payType,
			String shipType);

	public List<OrderBean> listOrders(Integer userId);

	public void getOrderDetails(Integer orderId);

	public int cancelOrder(String orderId);

	public boolean saveConsignee(Integer userId, int type,
			ConsigneeBean consigneeBean);

	public ConsigneeBean getConsignee(Integer userId);

	public int checkConsignee(Integer userId);

	public boolean pay(String orderId);

	public OrderBean getOrderItem(String orderId, Integer userId);

}